<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新用户注册</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/zero/zero1011-106.css"><meta name="Microsoft Theme" content="zero 1011, default">
<meta name="Microsoft Border" content="tlb, default">
</head>
    <body>
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td align="left" valign="top"><span style="letter-spacing: 1px">
		<font face="微软雅黑">		</font></span>
		  <font face="微软雅黑"><img src="_derived/1.htm_cmp_zero010_bnr.gif" width="580" height="60" border="0" alt="新用户注册"></font></td>
		<td align="left" valign="top"><small>
		</small></td>
	</tr>
</table>
        
        <html:form action="/register" method="post">
        <table>
                <tr align="center">
                <td colspan="2">
                    ${userRegisterForm.errorMsg}
                </td>
                </tr>
                <tr>
                    <td>用户名</td>
                    <td><html:text property="user_name" name="userRegisterForm"/></td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td><html:password property="password"
                                   name="userRegisterForm"/></td>
                </tr>
                <tr>
                    <td>再输一遍密码</td>
                    <td><html:password property="password_check"
                                   name="userRegisterForm"/></td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td><html:select property="gender" name="userRegisterForm">
                        <html:option value="男">男</html:option>
                        <html:option value="女">女</html:option>
                        </html:select>
                    </td>
                </tr>
                <tr>
                    <td>电话号码</td>
                    <td><html:text property="phone_number"
                                   name="userRegisterForm"/></td>
                </tr>
                <tr>
                    <td>身份证号码</td>
                    <td><html:text property="ID"
                                   name="userRegisterForm"/></td>
                </tr>
                <tr>
                    <td>居住地址</td>
                    <td><html:text property="user_address"
                                   name="userRegisterForm"/></td>
                </tr>
                <tr>
                <td align="center"><html:submit value="提交"/></td>
                </tr>
        </table>
        </html:form>
    </body>
</html:html>
